﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Provider/CarInsurance/Liberty_CarInsurance.master"
    AutoEventWireup="true" CodeFile="ProviderCarBaseValue.aspx.cs" Inherits="Provider_CarInsurance_ProviderCarBaseValue" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="provider_inner">
        <h1>
            Provider Car Base Value</h1>
        <fieldset>
            <dl>
                <dt>
                    <label>
                        Car Base Value</label></dt>
                <dd>
                    <asp:TextBox ID="txtBasevalue" runat="server" MaxLength="10"></asp:TextBox><asp:RequiredFieldValidator ID="rfvBasevalue" runat="server" ControlToValidate="txtBasevalue"
                        ErrorMessage="Enter Car Base value" ValidationGroup="carbasevalue" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revBasevalue" runat="server" ControlToValidate="txtBasevalue"
                        ErrorMessage="Car Base value is not valid." ValidationGroup="carbasevalue" ValidationExpression="^[0-9]+(\[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </dd>
            </dl>
            <dl>
                <dt>
                    <label>
                        Status</label></dt>
                <dd>
                    <asp:CheckBox ID="chkStatus" runat="server" />
                </dd>
            </dl>            
            <dl>
                <dt>
                    <label>
                        Auth Code</label></dt>
                <dd>
                    <asp:TextBox ID="txtAuthCode" runat="server" TextMode="Password" MaxLength="12" Width="150px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAuthCode" runat="server" ControlToValidate="txtAuthCode"
                        ErrorMessage="Enter auth code." ValidationGroup="carcapacity"></asp:RequiredFieldValidator>
                </dd>
            </dl>
        </fieldset>
        
        <fieldset class="action">
            <asp:ImageButton OnClientClick="javascript:return confirm('Are you sure to go back?');"
                ID="ibtBack" runat="server" CssClass="left_btn" ImageUrl="~/Provider/images/buttons/back1.gif"
                OnClick="ibtBack_Click" />
            <asp:ImageButton ID="btnSubmit" runat="server" CssClass="float_btn" ImageUrl="~/Provider/images/buttons/submit1.gif"
                ValidationGroup="CarDriverDOB" OnClick="btnSubmit_Click" />
            <asp:ImageButton ID="btnClearForm" runat="server" CausesValidation="False" OnClientClick="return confirm('Are you sure to clear form?');"
                CssClass="floatnext_btn" ImageUrl="~/Provider/images/buttons/clear1.gif" OnClick="btnClearForm_Click" />
        </fieldset>
        <asp:Label ID="lblMessage" runat="server" CssClass="successmsg"></asp:Label>
        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
    </div>
</asp:Content>
